Micron Document
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| SparkN0de-git | SparkN0de |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Displaying Raw • Download


recipes/python3/patches/py3.8.1.patch master (8b8a5035) Text, 1.42 KB

Tc9d1d9diff --git a/Lib/ctypes/util.py b/Lib/ctypes/util.py
Tc9d1d9index 97973bc..053c231 100644
Tf85149--- a/Lib/ctypes/util.py
T7ee787+++ b/Lib/ctypes/util.py
Tc9d1d9@@ -67,6 +67,13 @@ if os.name == "nt":
return fname
return None
T7ee787+# This patch overrides the find_library to look in the right places on
T7ee787+# Android
T7ee787+if True:
T7ee787+ from android._ctypes_library_finder import find_library as _find_lib
T7ee787+ def find_library(name):
T7ee787+ return _find_lib(name)
T7ee787+
elif os.name == "posix" and sys.platform == "darwin":
from ctypes.macholib.dyld import dyld_find as _dyld_find
def find_library(name):
Tc9d1d9diff --git a/configure b/configure
Tc9d1d9index 0914e24..dd00812 100755
Tf85149--- a/configure
T7ee787+++ b/configure
Tc9d1d9@@ -18673,4 +18673,3 @@ if test "$Py_OPT" = 'false' -a "$Py_DEBUG" != 'true'; then
echo "" >&6
echo "" >&6
fi
Tf85149-
Tc9d1d9diff --git a/setup.py b/setup.py
Tc9d1d9index 20d7f35..af15cc2 100644
Tf85149--- a/setup.py
T7ee787+++ b/setup.py
Tc9d1d9@@ -1501,7 +1501,9 @@ class PyBuildExt(build_ext):
if zlib_inc is not None:
zlib_h = zlib_inc[0] + '/zlib.h'
version = '"0.0.0"'
Tf85149- version_req = '"1.1.3"'
T7ee787+ # version_req = '"1.1.3"'
T7ee787+ version_req = '"{}"'.format(
T7ee787+ os.environ.get('ZLIB_VERSION', '1.1.3'))
if MACOS and is_macosx_sdk_path(zlib_h):
zlib_h = os.path.join(macosx_sdk_root(), zlib_h[1:])
with open(zlib_h) as fp:


──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────